package com.phiture.erp.basic.web.convert;

import com.phiture.erp.basic.api.pojo.resp.ErpSupplierResp;
import com.phiture.erp.basic.dal.entity.ErpSupplierDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author YH
 * @date 2025/4/13
 */

@Mapper
public interface ErpSupplierConvertMapper {
    ErpSupplierConvertMapper INSTANCE = Mappers.getMapper(ErpSupplierConvertMapper.class);

    ErpSupplierResp toErpSupplierResp(ErpSupplierDO supplierDO);
    List<ErpSupplierResp> toErpSupplierRespList(List<ErpSupplierDO> supplierDOList);
}
